//
//  UIView+Frame.h
//  茗玥古城
//
//  Created by 似水灵修 on 13-11-11.
//  Copyright (c) 2013年 MingYueGuCheng. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Frame)
/***简化UIView的frame属性设置***/

@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
@property (nonatomic, assign) CGSize size;
@property (nonatomic, assign) CGPoint origin;
/*****************************/

/**
 *  获得view的右边距离x轴(父视图坐标系中)的值
 */
- (CGFloat)valueOfRightMargin;
/**
 *  获得view的低边距离y轴(父视图坐标系中)的值
 */
- (CGFloat)valueOfBottomMargin;

@end
